package com.twu.biblioteca.model;

public class Book extends Item {
    private int bookCode;
    private String bookName;
    private String bookDescription;

    public Book(int bookCode, String bookName, String bookDescription) {
        this.bookCode = bookCode;
        this.bookName = bookName;
        this.bookDescription = bookDescription;
    }

    @Override
    public String getItemName(){
        return getBookName();
    }

    public int getBookCode() {
        return bookCode;
    }

    public String getBookName() {
        return bookName;
    }

    public String getBookDescription() {
        return bookDescription;
    }
}
